package com.yukh.test.spring.proxy.asm;

import net.sf.cglib.asm.MethodAdapter;
import net.sf.cglib.asm.MethodVisitor;
import net.sf.cglib.asm.Opcodes;

public class AddSecurityCheckMethodAdapter extends MethodAdapter {
	public AddSecurityCheckMethodAdapter(MethodVisitor mv) {
		super(mv);
	}

	public void visitCode() {
		visitMethodInsn(Opcodes.INVOKESTATIC, SecurityChecker.class.getName(),
				"checkSecurity", "()V");
	}
}
